package com.bytedance.frameworks.core.thread;

import com.a.a.NightMode;

import java.util.UUID;

public abstract class e implements NightMode, Comparable<e>, Runnable {
    private TTPriority$Priority a;

    public e() {
        this.a = TTPriority$Priority.NORMAL;
        new StringBuilder().append(UUID.randomUUID().toString()).append("-").append(String.valueOf(System.nanoTime()));
    }

    public e(TTPriority$Priority arg5) {
        if (arg5 == null) {
            arg5 = TTPriority$Priority.NORMAL;
        }
        this.a = arg5;
        new StringBuilder().append(UUID.randomUUID().toString()).append("-").append(String.valueOf(System.nanoTime()));
    }

    public int compareTo(e arg3) {
        int v0;
        if (this.a.getValue() < ((e) arg3).a.getValue()) {
            v0 = 1;
        } else if (this.a.getValue() > ((e) arg3).a.getValue()) {
            v0 = -1;
        } else {
            v0 = 0;
        }

        return v0;
    }
}

